home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr35 / status36.zip / CLEANUP.DOC < prev    next >
Text File  |  1993-07-01  |  7KB  |  165 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                           CLEANUP.EXE (for Postlink Log(s))
  8.           =================================================================
  9.  
  10.                CleanUp  was  written to  reduce  the size  of  the Postlink
  11.           log(s) to speed up the running  of Status as well as reducing the
  12.           size of the Postlink log(s) for editing, etc. See below  for list
  13.           of lines that are  currently deleted by CleanUp. This  program is
  14.           written to be  run in conjunction with  my Status program  and is
  15.           not to be run as a separate program.
  16.  
  17.                This archive should contain the following files:
  18.  
  19.                CLEANUP.DOC........... Instructions for running CleanUp
  20.                CLEANUP.EXE........... Postlink log reduction utility
  21.                DOORS.TXT............. Current list James Huckabey doors
  22.                FILE_ID.DIZ........... BBS description file
  23.                READ.ME............... Update/changes information
  24.                STATUS.EXE............ Actual program
  25.                STATUS.DOC............ Instructions for running Status
  26.                STATUS.CFG............ Sample configuration file     
  27.                STATUS2.CFG........... Sample configuration file
  28.                STATUS3.CFG........... Sample configuration file
  29.                STATUS.BAT............ Sample batch file
  30.                SUPPORT.TXT........... Location of Support BBS
  31.                ARCHIVE.TXT........... This list of files
  32.  
  33.                Syntax:   CLEANUP [path]logfile.ext
  34.  
  35.                CleanUp must  be in current  directory or somewhere  in your
  36.           path statement.  You may include a full name and path to your log
  37.           file. Check list of lines that are deleted to make sure it is not
  38.           going to remove any lines that you want to remain in your copy of
  39.           the Postlink log(s).  This is  not adjustable by  the user.  Your
  40.           input is wanted on what is or what is not removed.
  41.  
  42.                Type     in     "CleanUp    filename.ext"     or    "CleanUp
  43.           path\filename.ext" and press  enter. At the  end of activity  the
  44.           program displays the starting and ending log file sizes, starting
  45.           and  ending line count. The  process may be  lengthy depending on
  46.           the  size of  your log. It  can be  run daily,  bi-daily, or even
  47.           weekly, which  all depends  on the  growth of  your  log file.  A
  48.           program such as Do-Once can be used among many other programs for
  49.           running  programs on  specific days.  All that  is needed  to run
  50.           CleanUp  is as much free space on the  log file drive as the size
  51.           of the log or the program terminates at that point without making
  52.           any changes.
  53.  
  54.                If your  BBS system is  critical on  free space you  can run
  55.           CleanUp  everyday to reduce the size of your Postlink log(s). The
  56.           program removes  unneeded conference exports with  zero messages.
  57.           It  does  not  remove them  all  since  the  first of  each  name
  58.           encountered is used  by Status. First it keeps in memory each new
  59.           conference  name, when  a match  is found  that has  zero message
  60.           then, and  only then, is that line removed from the log. See list
  61.  
  62.  
  63.  
  64.  
  65.  
  66.           below  of other lines currently  deleted. It does  nothing to the
  67.           current day's portion of the log. It stops deleting lines when it
  68.           finds the log date  equals the current system date. It can reduce
  69.           the size of your  log up to about 60%, perhaps  even more on some
  70.           systems. Depends on how many mail  runs you make each day, if you
  71.           are a Hub, errors, etc.
  72.  
  73.                If your hard drive space it not at a premium or speed is not
  74.           critical then  you really do  not have  to run CleanUp.  The main
  75.           savings on time,  both CleanUp  and Status, would  be gained  the
  76.           most  near month's  end.  It takes  Status  time to  read in  and
  77.           process logs when they are larger. Lines can reach 30,000 or more
  78.           on a system with a lot of conferences. The savings  would be most
  79.           needed or noticed on systems that operate as Hubs for other nodes
  80.           and/or carry all conferences.
  81.  
  82.                The log file reduction on The Running Board (RUNNINGA (#2)),
  83.           Bonnie Anthony sysop, went from about 7 megs (70,000 lines or so)
  84.           to about 2.5 megs (33,000 lines). Status was running real slow by
  85.           month's end and  the log was too large to  load into most editors
  86.           to view activity. After  running CleanUp the log could  be easily
  87.           loaded  into the editor. You log might  not be this large, but it
  88.           can reduce it's size.
  89.  
  90.                Currently  lines starting with the following information are
  91.           deleted plus any blank lines along with the unneeded zero message
  92.           exports:
  93.  
  94.  
  95.                              ******* Special Note *******
  96.  
  97.                Status uses  the exports to  get Conference  names. So  when
  98.           CleanUp  runs if saves the  first conference names  that it finds
  99.           and  only  starts   deleting  the  zero  length  entries  if  the
  100.           conference name already  exists in memory. That  way CleanUp does
  101.           not remove anything that Status needs to generate it's bulletins.
  102.           So just  because you  find  exports with  zero messages  exported
  103.           please do not think CleanUp is not working correctly.
  104.  
  105.  
  106.           <-starting position in log
  107.  
  108.           Attempt
  109.           CONFLST.NET
  110.           Corrupted
  111.           Due to
  112.           error
  113.           filesend
  114.           mailstore
  115.           MailStore
  116.           Negative
  117.           sendpkt
  118.           Undeliverable
  119.           Warning
  120.  
  121.  
  122.  
  123.  
  124.  
  125.                 (Bi-
  126.                 Channel
  127.                 dict.net
  128.                 error
  129.                 Error Occurred
  130.                 File sent
  131.                 File received
  132.                 pcbnet
  133.                 ppost
  134.                 Preamble
  135.                 Skipping
  136.                 Site
  137.                 Unable to
  138.  
  139.                Regardless of  what is deleted the  current day's activities
  140.           are not altered in any way. Items deleted may change as I receive
  141.           any feedback. I  have found that the  Postlink software generates
  142.           an ERROR.LOG (or  whatever it's  name is) so  the errors  deleted
  143.           from the regular log still remain in the error log.
  144.  
  145.  
  146.                                      This Program
  147.  
  148.                If you don't like the program please write to me and explain
  149.           why. Send me any  suggestions you might have. If they enhance the
  150.           overall program I will try to incorporate part, some, all, in the
  151.           next release.
  152.  
  153.  
  154.                                         Errors
  155.  
  156.                Errors are written to the current directory in a file called
  157.           CLEANUP.ERR.  If the  file already  exists additional  errors are
  158.           appended to the end of the file. It may be deleted after you have
  159.           made note  of any errors. It's  existence it not  required by the
  160.           program. Current directory is wherever you call CLEANUP.EXE from.
  161.  
  162.  
  163.  
  164.                Please  support  my   efforts  and   register  Status.   See
  165.           STATUS.DOC for details.